package com.yitiao.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;

import com.yitiao.enums.TransMessageType;
import lombok.Data;

/**
 * 
 * @TableName trans_message
 */
@TableName(value ="trans_message")
@Data
public class TransMessage implements Serializable {
    /**
     * 
     */
    private String id;

    /**
     * 
     */
    private String service;

    /**
     * 
     */
    private TransMessageType type;

    /**
     * 
     */
    private String exchange;

    /**
     * 
     */
    private String routingkey;

    /**
     * 
     */
    private String queue;

    /**
     * 
     */
    private Integer sequence;

    /**
     * 
     */
    private String payload;

    /**
     * 
     */
    private Date date;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}